projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a60ba6
)
Added missing global statement, to ensure that the logfilename variable is
author
emellor@ewan
<emellor@ewan>
Tue, 11 Oct 2005 09:33:31 +0000
(10:33 +0100)
committer
emellor@ewan
<emellor@ewan>
Tue, 11 Oct 2005 09:33:31 +0000
(10:33 +0100)
updated.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendLogging.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendLogging.py
b/tools/python/xen/xend/XendLogging.py
index 9c78f922365d265ec3797f8d85c032278e52c75b..8e54d94bf1fce97d4ffebd16e587fb8d8934ff7c 100644
(file)
--- a/
tools/python/xen/xend/XendLogging.py
+++ b/
tools/python/xen/xend/XendLogging.py
@@
-49,6
+49,8
@@
def init(filename, level=logging.INFO, maxBytes=None, backupCount=None):
stderr unless addLogStderr() is called.
"""
+ global logfilename
+
def openFileHandler(fname):
return logging.handlers.RotatingFileHandler(fname,
mode='a',